package com.epsilon.pos.productos.view;

import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Group;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Label;

import com.epsilon.commons.util.SWTResourceManager;

public class ProductoDescripcionComposite extends Composite {
	private Label	lblDescripcion;
	private Label	lblMarca;
	private Label	lblPrecio;

	/**
	 * Create the composite.
	 * 
	 * @param parent
	 * @param style
	 */
	public ProductoDescripcionComposite( Composite parent, int style ) {
		super( parent, style );

		Group grpArtculo = new Group( this, SWT.NONE );
		grpArtculo.setText( "ART\u00CDCULO" );
		grpArtculo.setBounds( 0, 0, 314, 209 );

		lblDescripcion = new Label( grpArtculo, SWT.WRAP );
		lblDescripcion.setFont( SWTResourceManager.getFont( "Tahoma", 16, SWT.NORMAL ) );
		lblDescripcion.setBounds( 10, 20, 294, 122 );
		lblDescripcion.setText( "Descripci\u00F3n del art\u00EDculo" );

		lblPrecio = new Label( grpArtculo, SWT.WRAP );
		lblPrecio.setFont( SWTResourceManager.getFont( "Tahoma", 16, SWT.NORMAL ) );
		lblPrecio.setBounds( 10, 180, 294, 26 );
		lblPrecio.setText( "Precio" );

		lblMarca = new Label( grpArtculo, SWT.WRAP );
		lblMarca.setFont( SWTResourceManager.getFont( "Tahoma", 16, SWT.NORMAL ) );
		lblMarca.setBounds( 10, 148, 294, 26 );
		lblMarca.setText( "Marca" );
	}

	@Override
	protected void checkSubclass() {
		// Disable the check that prevents subclassing of SWT components
	}

	public Label getLblDescripcion() {
		return lblDescripcion;
	}

	public Label getLblMarca() {
		return lblMarca;
	}

	public Label getLblPrecio() {
		return lblPrecio;
	}
}